//风场详情
import request from '@/utils/request'

// 查询大屏数据
export function queryDashboardData(id) {
  return request({
    url: '/system/farm/queryDashboardData?windFarmId=' + id,
    method: 'get'
  })
}

// 查询实时总功率数据
export function selectValidTopToday(id, type) {
  return request({
    url: '/system/farm/selectValidTopToday?windFarmId=' + id + '&type=' + type,
    method: 'get'
  })
}

// 根据风场ID查询 风机 总功率排行
export function findValidRankListByWindFarmId(id) {
  return request({
    url: '/system/farm/findValidRankListByWindFarmId?windFarmId=' + id,
    method: 'get'
  })
}
